windows Property |
Array that contains the references to the window object of all the registered applications in Process Platform Ajax Toolkit framework.
Syntax
HTML |
oWindows = system.windows |
Parameters
Parameter |
Description |
---|---|
oWindows |
Object that denotes the collection of window object of all the applications registered in the Process Platform Ajax Toolkit framework. |
Remarks
The windows property lists out all the window objects of the applications that are created using the application component's select method. The array is indexed based on the Application IDs. Using this, methods and properties defined in the other pages can be accessed.
Example
The following example shows how the windows property can be used to access a method from an application to another application.
//Function call for windows property function callWindowsMethod() { var allWindows = system.windows; //Go through each application, and find which object has "test" as its application ID for (var wName in allWindows) { if (wName == "test") { //Execute the function "callMe" allWindows[wName].callMe(); } } }